package com.inkyi.assistant.app.notepad;

import javax.swing.*;

/**
 * 主方法
 */
public class NotepadMain extends JSplitPane {

    private NoteListingsPanel leftPanel;

    private NoteContentPanel rightPanel;

    public NotepadMain() {
        leftPanel = new NoteListingsPanel();
        rightPanel = new NoteContentPanel();
        setLeftComponent(leftPanel);
        setRightComponent(rightPanel);
        NoteContext.noteContentPanel.initValue(rightPanel);
        NoteContext.noteListingsPanel.initValue(leftPanel);
    }

}
